package org.dxy.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.github.yulichang.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: Administrator
 * @createTime: 2025/4/30 23:52
 */
@Builder
@Data
@Table("work_order")
@AllArgsConstructor
@NoArgsConstructor
public class WorkOrderPO extends Model<WorkOrderPO> {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String title;
    private String status;
    private Integer priority;
    private String productType;
    private Integer quantity;
    private LocalDateTime dueDate;
    private String description;
    private String createdBy;
    private LocalDateTime createdTime;
}
